<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Hello MUI</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="./assets/mui/css/mui.min.css">
    <link rel="stylesheet" href="./mui/examples/hello-mui/css/icons-extra.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/base.css">
    <link rel="stylesheet" href="./css/searchList.css">
</head>

<body>
    <header class="mui-bar mui-bar-nav">
        <a class=" mui-action-back mui-icon mui-icon-back mui-pull-left "></a>
        <h1 class="mui-title ">商品搜索</h1>
    </header>
    <nav class="mui-bar mui-bar-tab ">
        <a class="mui-tab-item " href="index.html ">
            <span class="mui-icon mui-icon-extra mui-icon-extra-hotel "></span>
            <span class="mui-tab-label ">首页</span>
        </a>
        <a class="mui-tab-item " href="sort.html ">
            <span class="mui-icon mui-icon-extra mui-icon-extra-class "></span>
            <span class="mui-tab-label ">分类</span>
        </a>
        <a class="mui-tab-item " href="login.html " id="cart ">
            <span class="mui-icon mui-icon-extra mui-icon-extra-cart "><span class="mui-badge "></span></span>
            <span class="mui-tab-label ">购物车</span>
        </a>
        <a class="mui-tab-item " href="login.html " id="my">
            <span class="mui-icon mui-icon-extra mui-icon-extra-heart-filled "></span>
            <span class="mui-tab-label ">会员中心</span>
        </a>
    </nav>



    <!--下拉刷新容器-->
    <div id="refreshContainer" class="mui-content mui-scroll-wrapper">
        <div class="mui-scroll">
            <div class="topNav">
                <span class="price" val='price'>价格<i class="mui-icon mui-icon-arrowdown"></i></span>
                <span class="salesCount" val='num'>销量<i class="mui-icon mui-icon-arrowdown"></i></span>
            </div>
            <div class="product">
            </div>
        </div>
    </div>

</body>
<script type="text/html" id="goodsTmp">
    <ul>
        {{each data}}
        <li>
            <a href="detail.html?id={{$value.id}}">
                <img src="{{$value.pic[0].picAddr}}" alt="">
                <div class="produce">{{$value.proName}}</div>
                <div class="price"><span>￥{{$value.price}}</span><span>￥{{$value.oldPrice}}</span></div>
                <button>立即购买</button>
            </a>
        </li>
        {{/each}}
    </ul>
</script>
<script src="./assets/zepto/zepto.min.js "></script>
<script src="./assets/artTemplate/template-web.js "></script>
<script src="./assets/mui/js/mui.min.js "></script>
<script src="./js/common.js "></script>
<script src="./js/searchList.js"></script>


<script>
</script>

</html>